#ifndef LOGIC_DONE_H
#define LOGIC_DONE_H

#include <iostream>
#include <string>
#include <vector>

#include "Data.h"
#include "Task.h"
#include "Writer.h"
#include "LogicBase.h"

#include <boost\date_time.hpp>

using namespace std;
using namespace boost::posix_time;
using namespace boost::gregorian;

class LogicDone : public LogicBase {
public:
	Display doneByIndex( int index );

	Display doneBySearchTerm( string searchTerm );

private:
	Task _task;

	static const string DONE_SUCCESS_MESSAGE;
	static const string UNDONE_SUCCESS_MESSAGE;

	static const string DONE_ERROR_MESSAGE;
	static const string DONE_MULTIPLE_MATCH_ERROR_MESSAGE;

	static const int FOUND_ONE_MATCH;
	static const int FIRST_POSITION;
};
#endif